package com.muyu.danmo.service;


import com.muyu.common.core.domain.Result;
import com.muyu.danmo.domain.DanmoTrainingInformation;

import java.util.List;

/**
 * 培训班详情Service接口
 *
 * @author yangle
 * @date 2024-10-10
 */
public interface IDanmoTrainingInformationService
{
    /**
     * 查询培训班详情
     *
     * @param id 培训班详情主键
     * @return 培训班详情
     */
    public DanmoTrainingInformation selectDanmoTrainingInformationById(Long id);

    /**
     * 查询培训班详情列表
     *
     * @param danmoTrainingInformation 培训班详情
     * @return 培训班详情集合
     */
    public List<DanmoTrainingInformation> selectDanmoTrainingInformationList(DanmoTrainingInformation danmoTrainingInformation);

    /**
     * 新增培训班详情
     *
     * @param danmoTrainingInformation 培训班详情
     * @return 结果
     */
    public Result insertDanmoTrainingInformation(DanmoTrainingInformation danmoTrainingInformation);

    /**
     * 修改培训班详情
     *
     * @param danmoTrainingInformation 培训班详情
     * @return 结果
     */
    public Result updateDanmoTrainingInformation(DanmoTrainingInformation danmoTrainingInformation);

    /**
     * 批量删除培训班详情
     *
     * @param ids 需要删除的培训班详情主键集合
     * @return 结果
     */
    public Result deleteDanmoTrainingInformationByIds(Long[] ids);

    /**
     * 删除培训班详情信息
     *
     * @param id 培训班详情主键
     * @return 结果
     */
    public int deleteDanmoTrainingInformationById(Long id);

    Result addDanmoTrainingInformation(DanmoTrainingInformation danmoTrainingInformation);



    List<DanmoTrainingInformation> selectDanmoTrainingInformationByUserId( Long userId);


    List<DanmoTrainingInformation> selectDanmoTrainingInformationViewsList(DanmoTrainingInformation danmoTrainingInformation);

    List<DanmoTrainingInformation> selectDanmoTrainingInformationAmountPraiseList(DanmoTrainingInformation danmoTrainingInformation);
}
